package com.hyt.it.ogt.pj.model.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评卷块表
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pj_piece")
@ApiModel(value="Piece对象", description="评卷块表")
public class Piece extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "科目id")
    private String subjectId;

    @ApiModelProperty(value = "父节点id")
    private String parentId;

    @ApiModelProperty(value = "评卷块编号")
    private String pieceCode;

    @ApiModelProperty(value = "评卷块名称")
    private String pieceName;

    @ApiModelProperty(value = "试卷包id")
    private String packageId;
    
    @ApiModelProperty(value = "试卷包版本号")
    private Integer packageVersion;

    @ApiModelProperty(value = "试卷包中的排序")
    private Integer sort;

    @ApiModelProperty(value = "试卷id")
    private String paperId;

    @ApiModelProperty(value = "评卷块类型0:关联教师1:关联试卷")
    private Integer pieceType;

    @ApiModelProperty(value = "最小提交时间")
    private Integer minSubmitTime;

    @ApiModelProperty(value = "回评长度")
    private Integer rejudgeLength;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "满分")
    private BigDecimal fullScore;

    @ApiModelProperty(value = "给分间距")
    private BigDecimal scoreStep;

    @ApiModelProperty(value = "是否评完")
    private Integer isFinish;

    @ApiModelProperty(value = "备注信息")
    private String remark;


}
